﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Work.UI.Web.Forms.Code.Common;
using Work.UI.Web.Forms.Code.Security;
using System.Threading;

namespace Work.UI.Web.Forms.Admin
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if(this.SecurityService.IsAuthotificate())
            {
                lblcontentMenu.Visible = true;
            }
            else
            {
                lblcontentMenu.Visible = false;
            }
        }

        protected ISercurityService SecurityService
        {
            get
            {
                return IoCContainer.ServiceLocator.Resolve<ISercurityService>();
            }
        }
    }
}